<?php
/* @var $this IptvLinkController */
/* @var $model IptvLink */

$this->breadcrumbs=array(
	Yii::t('base','Iptv Links')=>array('index'),
	Yii::t('base','Create'),
);

?>


<h1><?php echo Yii::t('base','Create IptvLink');?></h1>

<?php $this->renderPartial('_form', array('model'=>$model,'program_id'=>$program_id)); ?>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'iptv-link-grid',
	'dataProvider'=>$model->search2($program_id),
	//'filter'=>$model,
	'itemsCssClass'=>'responsive table table-striped table-bordered',
	'pager'=>array('class'=>'CLinkPager','hiddenPageCssClass'=>'','firstPageCssClass'=>'first paginate_button','firstPageLabel'=>'First','prevPageLabel' => 'Previous','nextPageLabel' => 'Next','lastPageLabel'=>'Last','htmlOptions'=>array('class'=>'dataTables_paginate paging_full_numbers"'),'header'=>""),
	'pagerCssClass'=>'pagination pull-right',
	'cssFile'=>false,
	'columns'=>array(
		//'link_list_id',
		//'program_id',
		'link_text',
		'link_address',
		
	),
)); ?>
